@extends('layout/admin')

@section('headcss')
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <link rel="stylesheet" href="{{ URL::asset('admin/css/global.css')}}">
    <link rel="stylesheet" href="{{ URL::asset('admin/icheck/minimal/red.css')}}">
@stop

@section('content')
  <div class="layui-body">
    <!-- 内容主体区域 -->
    <div style="padding: 15px;">
        <fieldset class="layui-elem-field">
            <legend>{{$label}}</legend>
                <div class="layui-field-box">
                    <form class="layui-form" action="/Xpwdupdate">
                        {{ csrf_field() }}
                        <div class="layui-form-item">
                            <label class="layui-form-label">初始密码</label>
                            <div class="layui-input-inline">
                            <input type="password" name="pwd1" required  lay-verify="required|password" placeholder="请输入初始密码" autocomplete="off" class="layui-input" value = "" lay-verType="tips">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">新密码</label>
                            <div class="layui-input-inline">
                            <input type="password" name="pwd2" required  lay-verify="required|password" placeholder="请输入新密码" autocomplete="off" class="layui-input" value = "" lay-verType="tips">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">重新输入</label>
                            <div class="layui-input-inline">
                            <input type="password" name="pwd3" required  lay-verify="required|password" placeholder="请重新输入密码" autocomplete="off" class="layui-input" value = "" lay-verType="tips">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                            <button class="layui-btn " lay-submit lay-filter="pwdbutton">立即提交</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                            </div>
                        </div>
                    </form>
                </div>

            </div>
        </fieldset>
    </div>
  </div>

@stop

@section('js')
  <script type="text/javascript" src="{{ URL::asset('admin/icheck/icheck.js')}}"></script>
  <script type="text/javascript" src="{{ URL::asset('admin/javascript/pwdupdate.js')}}"></script>
@stop
